import React from 'react'

export default function DateFormat(props) {
  const date = new Date(props.date)
  const formated = date.toLocaleString()
  return formated
}
